﻿using System;
using System.Collections.Generic;


namespace ProductInfo.Core.Service
{
	public interface IReleaseNoteEntryService
	{
		IDictionary<string, string> ValidationErrors { get; }


		IEnumerable<ProductInfo.Core.Models.ReleaseNoteEntry> List();


		ProductInfo.Core.Models.ReleaseNoteEntry Edit(
			int key);


		bool Update(
			ProductInfo.Core.Models.ReleaseNoteEntry releaseNoteEntry);


		bool Create(
			ProductInfo.Core.Models.ReleaseNoteEntry releaseNoteEntry);


		void UpdateVersion(
			string originalValue, 
			string updateValue);
		

		List<string> FetchDistinctVersions();
	}
}
